package com.knowledgebooks.nlp;
	import java.awt.BorderLayout;
	import java.awt.Button;
	import java.awt.Checkbox;
	import java.awt.CheckboxGroup;
	import java.awt.Color;
	import java.awt.Dimension;
	import java.awt.Event;
	import java.awt.Font;
	import java.awt.Graphics;
	import java.awt.GridBagConstraints;
	import java.awt.GridBagLayout;
	import java.awt.Insets;
	import java.awt.Label;
	import java.awt.List;
	import java.awt.Panel;
	import java.awt.TextField;
	/*===============================================================================
	Class:     CurveTurtleFunction [Reenu Iype]
	Contents:  contains TurtleFunction information for drawing a hermite curve

	===============================================================================*/
	class CurveTurtleFunction extends Object {

		public TurtleFunction p1;   /* first tangent vector, or first control point */
		public TurtleFunction p2;   
		public TurtleFunction p3;   
		public TurtleFunction p4;   

		public boolean bDoDraw;      
		

		/*------------------
		  Constructor used
		-------------------*/
		CurveTurtleFunction() {
			this.p1 = new TurtleFunction();
			this.p2 = new TurtleFunction();
			this.p3 = new TurtleFunction();
			this.p4 = new TurtleFunction();
		
		}

		/*---------------------------------------------------------------------
		Method:   getvals
		Purpose:  copy over the values from another curve TurtleFunction into
			  this one
		---------------------------------------------------------------------*/
		public void getvals(CurveTurtleFunction t) {
			this.p1.getvals(t.p1);
			this.p2.getvals(t.p2);
			this.p3.getvals(t.p3);
			this.p4.getvals(t.p4);
			this.bDoDraw = t.bDoDraw;
		}

	}